package com.team.appinfo.mapper;

import com.team.appinfo.entity.AppInfo;
import com.team.appinfo.entity.AppInfoConstant;
import com.team.appinfo.entity.AppInfoExample;
import com.team.appinfo.entity.AppInfoTiaoJian;

import java.util.List;

public interface AppInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AppInfo record);

    int insertSelective(AppInfo record);

    List<AppInfo> selectByExample(AppInfoExample example);

    AppInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AppInfo record);

    int updateByPrimaryKey(AppInfo record);

    List<AppInfoConstant> getAppinfoAll(AppInfoTiaoJian appInfoTiaoJian); //查询

    AppInfoConstant getOneAppInfo(Long id);

    int updateAppInfoById(AppInfoConstant appInfoConstant);

    List<AppInfoConstant> getAdminAppInfo(AppInfoTiaoJian appInfoTiaoJian); //查询

    //查询单条app信息  后台审核展示
    AppInfoConstant selectAdminByPrimaryKey(Long id);

}